package com.jiuwan.gamepass.service;

import com.jiuwan.gamepass.dto.authDto.Result;
import com.jiuwan.gamepass.pojo.authPojo.SysUser;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @version 1.0
 * 功能目的描述 ：用于         ========>>>>>>>>>>>
 * @author： pang-yun
 * @date： 2021-06-28 17:43
 */

public interface SysUserService {


    //增添新用户
    Result addUser(String username,String password,Integer role_id);

    //删除用户
    Result deleteUser(String username);

    //更新用户信息
    Result updateUser(String username, String password,Integer role_id);

    //查询用户
    Result select(String username);

    //查询所有用户
    Result selectAll();

    //分页查询
    public Result selectPage(String username, int current, int size);
}
